package com.xzh.mallorderapi.service;

import com.mall.common.util.JsonResult;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.http.ResponseEntity;
import org.springframework.web.bind.annotation.DeleteMapping;

@FeignClient(value="mall-gateway",contextId = "order-cartItem-api")
public interface CartItemFeignService {

    @DeleteMapping("/api/cart_items")
    ResponseEntity<JsonResult<?>> deleteByIds(Integer[] ids);

}
